<include file='Public:head'/>

<div class="container">
    <div class="row text-center">
        <h1>ERROR</h1>
        <br><br><br><br>
        <h3><?php echo($error); ?></h3>
        <!-- <p><a href="javascript:history.go(-1);">返回</a>&nbsp;&nbsp;&nbsp;<b>5</b>秒后自动返回</p> -->
        <p>
            页面自动 
            <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a> 
            等待时间： <b id="wait"><?php echo($waitSecond); ?></b>
        </p>
    </div>
</div>

<include file='Public:footer' />

<script type="text/javascript">
(function(){
var wait = document.getElementById('wait'),href = document.getElementById('href').href;
var interval = setInterval(function(){
    var time = --wait.innerHTML;
    if(time <= 0) {
        location.href = href;
        clearInterval(interval);
    };
}, 1000);
})();
</script>

<style>
    h1{
        font-size: 84px;
        margin-top: 100px;
        font-weight: bold;
    }
    h3 {
        color: red;
    }
    p{
        margin-top: 50px;
        font-size: 24px;
        font-weight: bolder;
    }
</style>

